package com.graduation.mybatis.service;

import com.graduation.mybatis.bean.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 23726
* @description 针对表【diet_plans】的数据库操作Service
* @createDate 2025-04-22 11:56:47
*/
public interface DietPlansService extends IService<DietPlans> {
    NutritionSummary getPlanSummary(Integer userId);
    List<DietRecordVO> getDietRecordsByUserId(Integer userId);
    PlanFoods addFoodToPlan(AddFoodRequest request);
    boolean removePlanFoodById(Integer id);
}
